// import store from '@/store/index'

//换用setup store
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
// store.use(piniaPluginPersistedstate)
pinia.use(piniaPluginPersistedstate)

export function setupPinia(app) {
  // pinia
  app.use(pinia)
}
